package com.fastCms.business.mall.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 企业员工福利表
 * </p>
 *
 * @author lsquan
 * @since 2019-05-27
 */
@Data
@ApiModel(value = "ProductPickDetailInfoVO对象", description = "商品提货码详情信息")
public class ProductPickDetailInfoVO {


    @ApiModelProperty(value = "商品提货码主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "核销人")
    private String custId;

    @ApiModelProperty(value = "核销码")
    private String pickCode;

    @ApiModelProperty(value = "产品ID")
    private String productId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品子标题")
    private String subTitle;

    @ApiModelProperty(value = "商品类型")
    private String productType;

    @ApiModelProperty(value = "商品品牌名称")
    private String brandName;

    @ApiModelProperty(value = "商品品牌logo")
    private String brandLogo;

    @ApiModelProperty(value = "sku组合属性ID")
    private String skuAttr;

    @ApiModelProperty(value = "商品规格描述{黑色:16GB,内存:16GB}")
    private String skuDesc;

    @ApiModelProperty(value = "提示图片")
    private String noticeImage;

    @ApiModelProperty(value = "有效开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty(value = "有效截止时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date expireTime;

    @ApiModelProperty(value = "核销时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date usedTime;

    @ApiModelProperty(value = "使用状态(1-未使用2-已使用)")
    private Integer status;

    @ApiModelProperty(value = "使用说明")
    private String introduce;

    @ApiModelProperty(value = "提货门店ID,数组=[1,2]")
    private String storeIds;

    @ApiModelProperty(value = "门店列表")
    private List<StoreVO> stores;


}
